home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
xcal354b.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-11-22
|
615b
|
33 lines
echo off
if "%1" == "" goto NOINPUT
if not exist %1\*.* goto DIRERROR
echo Copying files to %1
copy *.exe %1
copy *.frm %1
copy *.txt %1
if not exist %1\xc2 goto MAKESUB
:COPYXCL
echo Copying files to %1\XC2
copy *.xcl %1\XC2
echo All Done!
goto DONE
:MAKESUB
echo Creating directory %1\XC2
md %1\xc2
goto COPYXCL
:DIRERROR
echo BBS directory %1 does not exist!
echo .
:NOINPUT
echo This batch file copies the Excalibur! II game files
echo into the appropriate directories. The format is
echo INSTALL C:\BBSDIR where BBSDIR is your BBS root directory.
echo .
:DONE